home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ Explorer Options 3.xpl < prev    next >
Text File  |  2001-04-13  |  3KB  |  63 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Explorer\Settings (Advanced)"
  5. "NAME"="Explorer Separate Proccess"
  6. "WARNING"="1"
  7. "OSVERSION"="010101"
  8. "VERSION"="1.21"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Explorer Separate Proccess as seperate process"
  11. "DESCRIPTION 1"="In Windows, Explorer is used as file manager and as the shell (the interface to Windows). Because of this, crashing the file manager also crashes your shell."
  12. "DESCRIPTION 2"="By activating this option, Windows uses an seperate process for each task which is a good idea if stability is your goal, but a bad one if you have few memory (two programs use more memory)."
  13. "-DESCRIPTION 1"="As many people know, Explorer is both a Windows shell as well as a file manager. While this is a good design in terms of usability, it's not so good when it comes to memory usage. Under normal usage, Explorer may take as much as 8 MB of vital RAM from your Win2000 system."
  14. "-DESCRIPTION 2"="This is due to a memory allocation problem in which Windows uses twice the total memory for Explorer because it thinks it's using two separate programs. :("
  15. "-DESCRIPTION 3"="To solve this "integration" problem, you can simply activate this option."
  16. "-DESCRIPTION 4"="After rebooting, Explorer will now run the shell and its file manager as two separate proccesses and will not try to allocate more memory than neccesary."
  17. "-DESCRIPTION 5"="[Courtesy of "martin" <ingenue007@hotmail.com>"
  18. "AUTHOR"="Xteq Systems"
  19. "CONTACTURL"="http://www.xteq.com"
  20. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  21. "COMMENT 1"="Found by the way of "martin" <ingenue007@hotmail.com>"
  22. "COMMENT 2"="Thanks to Michael Kairys [mkairys@mediaone.net] for the W2K fix."
  23. "COMMENT 3"="Thanks to Jeanne Souders [jsouders1@cox.rr.com] for the W9x fix."
  24.  
  25. sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\SeparateProcess" 'DW
  26. sV2="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\DesktopProcess" 'DW 1 = seperated
  27.  
  28. Sub Plugin_Initialize 
  29.  If GetWinVer=4 then
  30.     sP=sV2
  31.  else
  32.     sP=sV1
  33.  end if
  34.  
  35.  s=RegReadValue(sP)
  36.  if IsEmpty(s)=false then 
  37.     if s=1 then SetUIElement 1,true 
  38.  end if
  39. End Sub
  40.  
  41.  
  42. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  43.  b=GetUIElement(1)
  44.  if GetWinVer=4 then
  45.     sP=sV2
  46.  else
  47.     sP=sV1
  48.  end if
  49.  
  50.  if b=true then
  51.     Call RegWriteValue(sP,"1",2)
  52.  else
  53.     s=RegReadValue(sP)
  54.     if IsEmpty(s)=false then RegDeleteValue(sP)
  55.  end if
  56.  
  57.  
  58.  Call Restart()
  59. End Sub
  60.  
  61. Sub Plugin_Terminate 
  62. End Sub
  63.